﻿#ifndef PAGEJUMP_H
#define PAGEJUMP_H

#include <QWidget>
#include "loginwidget.h"
#include "registerwidget.h"
#include "mainwidget.h"
#include "settingwidget.h"
#include "recordwidget.h"
#include "passwordwidget.h"
#include "serialwindow.h"

namespace Ui {
class PageJump;
}

class PageJump : public QWidget
{
    Q_OBJECT

public:
    explicit PageJump(QWidget *parent = 0);
    ~PageJump();

    void show();

    void showLogin();
    void showRegister();
    void showMain();
    void showSetting();
    void showRecord();
    void showPassword();
    void showSerial();

private:
    Ui::PageJump *ui;

    LoginWidget *login;
    RegisterWidget *registers;
    MainWidget *mainwidget;
    SettingWidget *setting;
    RecordWidget *record;
    PasswordWidget *password;
    SerialWindow *serial;
};

#endif // PAGEJUMP_H
